home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscTableScroll / MiscTableScrollInspector.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-11  |  2.9 KB  |  92 lines

  1. #ifndef __MiscTableScrollInspector_h
  2. #define __MiscTableScrollInspector_h
  3. //=============================================================================
  4. //
  5. //        Copyright (C) 1995 by Paul S. McCarthy and Eric Sunshine.
  6. //                Written by Paul S. McCarthy and Eric Sunshine.
  7. //                            All Rights Reserved.
  8. //
  9. //        This notice may not be removed from this source code.
  10. //
  11. //        This object is included in the MiscKit by permission from the authors
  12. //        and its use is governed by the MiscKit license, found in the file
  13. //        "License.rtf" in the MiscKit distribution.    Please refer to that file
  14. //        for a list of all applicable permissions and restrictions.
  15. //        
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // MiscTableScrollInspector.h
  19. //
  20. //        Interface Builder inspector for MiscTableScroll.
  21. //
  22. //-----------------------------------------------------------------------------
  23. //-----------------------------------------------------------------------------
  24. // $Id: MiscTableScrollInspector.h,v 1.3 95/10/03 23:20:07 zarnuk Exp $
  25. // $Log:        MiscTableScrollInspector.h,v $
  26. //    Revision 1.3  95/10/03    23:20:07  zarnuk
  27. //    Now keeps internal "dirty" flag and only does work in
  28. //    "-textDidEnd:endChar:" if the text is "dirty".    This
  29. //    should suppress most of the -border:slotAtPosition:
  30. //    sent to freed object errors from IB.
  31. //    
  32. //    Revision 1.2  95/10/01    15:09:21  sunshine
  33. //    Can now set text, background, textH, and backgroundH colors via inspector.
  34. //    
  35. //    Revision 1.1  95/09/27    12:21:21  zarnuk
  36. //    Initial revision
  37. //-----------------------------------------------------------------------------
  38. extern "Objective-C" {
  39. #import <apps/InterfaceBuilder.h>
  40. }
  41. #import <misckit/MiscTableTypes.h>
  42.  
  43. @class Button, Matrix, NXColorWell, ScrollView, TextField;
  44. class MiscTableBorder;
  45.  
  46. @interface MiscTableScrollInspector : IBInspector
  47.     {
  48.     Button*                autosizeSwitch;
  49.     Button*                autoSortSwitch;
  50.     Button*                borderPopUp;
  51.     Button*                cellClassPopUp;
  52.     Button*                constrainMaxSwitch;
  53.     Button*                constrainMinSwitch;
  54.     Button*                deleteButton;
  55.     Button*                downButton;
  56.     Button*                draggableSwitch;
  57.     Button*                enabledSwitch;
  58.     Button*                expandToDataSwitch;
  59.     Button*                lazySwitch;
  60.     Button*                modePopUp;
  61.     Button*                sizableSwitch;
  62.     Button*                sortTypePopUp;
  63.     Button*                sortDirectionPopUp;
  64.     Button*                titleModePopUp;
  65.     Button*                titlesSwitch;
  66.     Button*                upButton;
  67.     Button*                userSizeableSwitch;
  68.     Matrix*                slotScroll;
  69.     TextField*            sizeField;
  70.     TextField*            sizeMaxField;
  71.     TextField*            sizeMinField;
  72.     TextField*            titleField;
  73.     TextField*            uniformSizeField;
  74.     NXColorWell*        colorText;
  75.     NXColorWell*        colorTextH;
  76.     NXColorWell*        colorBack;
  77.     NXColorWell*        colorBackH;
  78.     int                    slot;            // Currently selected slot, or -1.
  79.     int                    num_slots;        // Total number of columns.
  80.     MiscBorderType        border_type;
  81.     MiscTableBorder*    border;
  82.     BOOL                dirty;
  83.     }
  84.  
  85. - init;
  86. - ok: sender;
  87. - revert: sender;
  88.  
  89. @end
  90.  
  91. #endif    // __MiscTableScrollInspector_h
  92.